IMessage : IMAPIProp

The IMessage interface is used for managing messages, attachments, and recipients.

Quick Info

 

Header file:

MAPIDEFS.H

Exposed by:

Message object

Implemented by:

Message store providers

Called by:

Client applications

Corresponding pointer type:

LPMESSAGE

Transaction model:

Transacted

 

Vtable Order

 

GetAttachmentTableI3U8LZ

Returns the message s attachment table.

OpenAttach14RPEGD

Opens an attachment.

CreateAttach6GKIEM

Creates a new attachment.

DeleteAttach1OO.7K5

Deletes an attachment.

GetRecipientTable12Z640H

Returns the message s recipient table.

ModifyRecipientsBTAS42

Adds, deletes, or modifies message recipients.

SubmitMessage6BOP2F

Saves all changes to the message and marks it as ready for sending.

SetReadFlag1ASOHJP

Sets or clears the MSGFLAG_READ flag in the PR_MESSAGE_FLAGS property of the message and manages the sending of read reports.

 

The following properties are required on messages at some point during their lifecycle. Most of the read-only properties are set by the message store provider when a client calls a message s IMAPIProp::SaveChanges21IFXQ method. Other read-only properties are set by the transport provider.

 

Required properties for messages of all classes

Access

PR_CREATION_TIMENM.Y03

Read-only

PR_DISPLAY_BCC957U7N

Read-only

PR_DISPLAY_CCNQSOAK

Read-only

PR_DISPLAY_TONQSORW

Read-only

PR_ENTRYID2JH9H8T

Read-only

PR_LAST_MODIFICATION_TIME1Q8L0FE

Read-only

PR_MESSAGE_ATTACHMENTS4HE.45

Read-only

PR_MESSAGE_CLASS12U4DE1

Read/write

PR_MESSAGE_FLAGS12X4D91

Read/write

PR_MESSAGE_RECIPIENTS11I0I35

Read-only

PR_MESSAGE_SIZEDQE5OW

Read-only

PR_MESSAGE_CC_ME566H_IX

Read-only

PR_MESSAGE_RECIP_MEMFG7ZG

Read-only

PR_MESSAGE_TO_ME56GT_IX

Read-only

PR_NORMALIZED_SUBJECT1DDH6NO

Read-only

PR_ORIGINATOR properties

Read-only

PR_PARENT_DISPLAYAKSWS

Read-only

PR_PARENT_ENTRYIDC9B6GY

Read-only

PR_RECEIVED_BY properties

Read-only

PR_RECIPIENT_TYPE1VRJ4HY

Read-only

PR_RECORD_KEYQV4J.N

Read-only

PR_SEARCH_KEY_7GFC6

Read-only

PR_SENDER properties

Read-only

PR_STORE_ENTRYIDSH8V.D

Read-only

PR_STORE_RECORD_KEYA7Y8__

Read-only

 

The following properties are all read-only to clients, with the exception of PR_BODY. Clients construct this property when they process a report.

 

Properties for report messages

 

 

PR_BODY6E9KHO

PR_CONVERSATION_INDEXJVEJ3

PR_CONVERSATION_TOPICUWQMI

PR_MESSAGE_CLASS12U4DE1

PR_MESSAGE_DELIVERY_TIMEKARQ1N

PR_ORIGINAL_DELIVERY_TIMEVW.T2M

PR_ORIGINAL_DISPLAY_BCC41MZZ8U

PR_ORIGINAL_DISPLAY_CC1MLE6X4

PR_ORIGINAL_DISPLAY_TO32426B5

PR_ORIGINAL_SUBJECTQGDP4D

PR_ORIGINAL_SUBMIT_TIME137SRNJ

PR_REPORT_TAGJLKGU2

PR_REPORT_TEXT3H_3_Z8

PR_REPORT_TIME79MCZZ

PR_SEARCH_KEY_7GFC6

PR_SENDER properties

PR_SUBJECT2EJ7_LA

 

 

Properties for message recipients

Access

Required or optional

PR_ADDRTYPE7C7E4S

Read-only

Required

PR_DISPLAY_NAME1KS30YA

Read/write

Required

PR_DISPLAY_TYPEYIXSE1

Read/write

Required

PR_EMAIL_ADDRESS

Read-only

Optional

PR_ENTRYID2JH9H8T

Read-only

Required

PR_OBJECT_TYPE4YLDI0

Read-only

Required

PR_SEARCH_KEY_7GFC6

Read-only

Optional